package com.sita.tboard.roadtrust;

import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.widget.EditText;
import android.widget.RelativeLayout;

import com.sita.bike.R;
import com.sita.tboard.ActivityBase;
import com.sita.tboard.ui.view.NoScrollGridView;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by xiaodong on 16/3/7.
 */
public class NewResourceActivity extends ActivityBase {
    @Bind(R.id.toolbar)
    Toolbar toolbar;

    @Bind(R.id.content)
    EditText contentView;

    @Bind(R.id.gallery)
    NoScrollGridView galleryView;

    @Bind(R.id.location_line)
    RelativeLayout locationLine;

    @Bind(R.id.traffic_line)
    RelativeLayout trafficLine;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_rt_resource_new);
        ButterKnife.bind(this);

        setSupportActionBar(toolbar);
        ActionBar actionBar = getSupportActionBar();
        actionBar.setDisplayHomeAsUpEnabled(false);
        actionBar.setDisplayShowTitleEnabled(false);
    }

    @OnClick(R.id.cancel_button)
    void clickCancelButton(){
        finish();
    }

    @OnClick(R.id.deliver_button)
    void clickDeliverButton(){

    }

}
